package com.ht.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ht.common.core.annotation.Excel;
import com.ht.common.core.web.domain.BaseEntity;

/**
 * 关区代码对象 b_customs
 * 
 * @author zmx
 * @date 2025-03-22
 */
public class Customs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关区代码 */
    @Excel(name = "关区代码")
    private String customsCode;

    /** 关区名称 */
    @Excel(name = "关区名称")
    private String customsName;

    /** 上级海关代码 */
    @Excel(name = "上级海关代码")
    private String parentCustomCode;

    /** 上级海关名称 */
    @Excel(name = "上级海关名称")
    private String parentCustomName;

    public void setCustomsCode(String customsCode) 
    {
        this.customsCode = customsCode;
    }

    public String getCustomsCode() 
    {
        return customsCode;
    }
    public void setCustomsName(String customsName) 
    {
        this.customsName = customsName;
    }

    public String getCustomsName() 
    {
        return customsName;
    }
    public void setParentCustomCode(String parentCustomCode) 
    {
        this.parentCustomCode = parentCustomCode;
    }

    public String getParentCustomCode() 
    {
        return parentCustomCode;
    }
    public void setParentCustomName(String parentCustomName) 
    {
        this.parentCustomName = parentCustomName;
    }

    public String getParentCustomName() 
    {
        return parentCustomName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customsCode", getCustomsCode())
            .append("customsName", getCustomsName())
            .append("parentCustomCode", getParentCustomCode())
            .append("parentCustomName", getParentCustomName())
            .toString();
    }
}
